package com.mng;

import com.mng.Employee;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

public interface EmployeeMapper {
    @MapKey("id")
    public Map<Long, Employee> getByIdReturnMap(Long Id);
    public Map<String,Object> getMapById(Long Id);
    public Map<String,Object> getMapByName(String name);
    public Employee getById(Long Id);
    public List<String> getNameContainsN(String n);
}
